home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ccdl151s.zip / INCLUDE / UMEM.H < prev    next >
C/C++ Source or Header  |  1997-01-15  |  748b  |  32 lines

  1. #ifndef _MEM_H_
  2. #define _MEM_H_
  3. /*
  4.  * EMS mem control type
  5.  */
  6. #define MAX_EMS_READWRITE 16384
  7.  
  8. typedef struct {
  9.     BYTE *address;
  10.     long size;
  11. } EMSMEM;
  12.  
  13. /*
  14.  * Linked list type.  Used for filenames, module number list, segment lists
  15.  */
  16. typedef struct _list_ {
  17.     struct _list_ *link;        /* Link to next element */
  18.         void *data;                            /* Generic data */
  19. } LIST;
  20.  
  21. /* Hash table record definition, all entries in a hash table must be
  22.  * structures with the first two elements as given because hash table
  23.  * entries are sometimes handled generically */
  24.  
  25. typedef struct _hashrec_ {
  26.    struct _hashrec_ *link;    /* Link to next element in list */
  27.    char *key;    /* Full key */
  28. } HASHREC;
  29.  
  30. #include "umem.p"
  31.  
  32. #endif /* _MEM_H_ */